package com.ysqcould.allocation.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 通信录对象 t_contacts
 * 
 * @author ruoyi
 * @date 2022-06-29
 */
public class Contacts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String name;

    /** 职位 */
    @Excel(name = "职位")
    private String job;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 头像 */
    @Excel(name = "头像")
    private String headUrl;

    /** 分组备注 */
    @Excel(name = "分组备注")
    private String groupRemark;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setJob(String job) 
    {
        this.job = job;
    }

    public String getJob() 
    {
        return job;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setHeadUrl(String headUrl) 
    {
        this.headUrl = headUrl;
    }

    public String getHeadUrl() 
    {
        return headUrl;
    }
    public void setGroupRemark(String groupRemark) 
    {
        this.groupRemark = groupRemark;
    }

    public String getGroupRemark() 
    {
        return groupRemark;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("department", getDepartment())
            .append("name", getName())
            .append("job", getJob())
            .append("phone", getPhone())
            .append("headUrl", getHeadUrl())
            .append("groupRemark", getGroupRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
